From b9269d5644ce80ae751535a02869602706868baa Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sun, 31 May 2020 15:14:26 +0100 Subject: [PATCH] Annotate the GtkFunctionListItemFactory constructor But skip it, since it cannot really be used by language bindings, as it binds the same user data to two separate functions. --- gtk/gtkfunctionslistitemfactory.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gtk/gtkfunctionslistitemfactory.c b/gtk/gtkfunctionslistitemfactory.c index 2f179c332d..e625331b8b 100644 --- a/gtk/gtkfunctionslistitemfactory.c +++ b/gtk/gtkfunctionslistitemfactory.c @@ -101,6 +101,17 @@ gtk_functions_list_item_factory_init (GtkFunctionsListItemFactory *self) { } +/** + * gtk_functions_list_item_factory_new: (skip) + * @setup_func: (scope call) (destroy user_destroy): the setup function for the list item factory + * @bind_func: (scope call) (destroy user_destroy): the bind function for the list item factory + * @user_data: user data for the @setup_func and @bind_func functions + * @user_destroy: a function called to destroy @user_data + * + * Creates a new #GtkListItemFactory with the given functions. + * + * Returns: (transfer full): the newly created list item factory object + */ GtkListItemFactory * gtk_functions_list_item_factory_new (GtkListItemSetupFunc setup_func, GtkListItemBindFunc bind_func, -- 2.30.2